﻿@ModelType SistemaINCA.Models.ViewModels.PerfilAlumnoModel
@code
    Dim no As Integer = 0
End Code
@MvcHtmlString.Create(Bundle.JavaScript() _
                      .Add("~/Scripts/App/PartialViews/Ready_ViewPerfilAlumno.js") _
                      .ForceRelease _
                      .Render("~/Scripts/JSPartialView_ViewPAlum.js"))
@If Model IsNot Nothing AndAlso Model.DatosPersonales IsNot Nothing Then
    @Html.EditorFor(Function(m) m.DatosPersonales, New With {.NIE = Model.NIE, .Viewer = Model.Viewer})
    @<h2 style="font-size: 14px; margin-top: 20px;">Responsables</h2>
    @<div class="line-titulo"></div>
    For i = 0 To Model.Responsables.Count - 1
        no = i + 1
        @Html.EditorFor(Function(m) m.Responsables(no - 1), New With {.No = no, .Viewer = Model.Viewer})    
    Next
End If